package com.oyjd.ybx.front.service;

import java.io.File;

import com.oyjd.ybx.bean.vo.UserVO;

/**
 * 
 * 前端接口
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
public interface FrontSysService {
	/**
	 * 发送密码找回邮件
	 * 
	 * @param vo
	 *            用户对象
	 * @param key
	 *            加密key
	 */
	void sentMail(UserVO vo, String key);

	/**
	 * 填写宝宝资料
	 * 
	 * @param userId
	 * @param babySex
	 * @param babyBirthday
	 * @param babyName
	 * @param babyHeight
	 * @param babyWeight
	 */
	void updateBabyInfo(String userId, String picFileName, File pic, String babySex, String babyBirthday, String babyName, String babyHeight, String babyWeight) throws Exception;

	/**
	 * 处理QQ登入回调
	 * 
	 * @param access_token
	 */
	UserVO qqLoginCallBack(String access_token) throws Exception;

	/**
	 * 处理百度登入回调
	 * 
	 * @param access_token
	 */
	UserVO baiduLoginCallBack(String access_token) throws Exception;
}
